package com.ims.core.enums;

/**
 * 校验内容
 * 10    销方名称
 * 20    购方名称
 * 30    商品名称
 * 40    发票备注
 * @author IMS
 */
public enum RuleCheckType {
    SELLER_NAME(10, "销方名称"),
    BUYER_NAME(20, "购方名称"),
    COMMODITY_NAME(30, "商品名称"),
    INVOICE_REMARK(40, "发票备注");

    private final int code;
    private final String name;

    RuleCheckType(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}